package com.chen.model;

import java.util.Date;

public class Contract {
    private int contract_id;
    private String contract_message;
    private int contract_state;
    private Customer customer;
    private Salesman salesman;
    private Date contract_time;


    @Override
    public String toString() {
        return "Contract{" +
                "contract_id=" + contract_id +
                ", contract_message='" + contract_message + '\'' +
                ", contract_state=" + contract_state +
                ", customer=" + customer +
                ", salesman=" + salesman +
                ", contract_time=" + contract_time +
                '}';
    }

    public Date getContract_time() {
        return contract_time;
    }

    public void setContract_time(Date contract_time) {
        this.contract_time = contract_time;
    }

    public int getContract_id() {
        return contract_id;
    }

    public void setContract_id(int contract_id) {
        this.contract_id = contract_id;
    }

    public String getContract_message() {
        return contract_message;
    }

    public void setContract_message(String contract_message) {
        this.contract_message = contract_message;
    }

    public int getContract_state() {
        return contract_state;
    }

    public void setContract_state(int contract_state) {
        this.contract_state = contract_state;
    }

    public Customer getCustomer() {
        return customer;
    }

    public void setCustomer(Customer customer) {
        this.customer = customer;
    }

    public Salesman getSalesman() {
        return salesman;
    }

    public void setSalesman(Salesman salesman) {
        this.salesman = salesman;
    }

}
